﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiMinCRMPlugin.InterfaceDocking
{
    /// <summary>
    /// 产品基准价MODEL
    /// </summary>
    public class PriceOfProductModel
    {
        /// <summary>
        /// 产品基准价主报文
        /// </summary>

        public class mainTableList
        {
            public string sxrq { get; set; }//生效日期(yyyy-MM-dd)
            public string kczz { get; set; }//库存组织
            public string djbm { get; set; }//单据编码
           
        }


        /// <summary>
        /// 产品基准价明细报文
        /// </summary>
        public class detailList
        {
            public operate operate { get; set; }
            public dataList data { get; set; }
        }

        public class operate
        {
            public string action { get; set; }
            public string actionDescribe = "";       
        }

        /// <summary>
        /// 产品基准价明细数据报文
        /// </summary>
        public class dataList
        {

            public string mxwybm { get; set; }//明细内码
            public string cpbm { get; set; }//产品编码
            public string cpmc { get; set; }//产品名称
            public string ggxh { get; set; }//规格型号
            public string jbdw { get; set; }//基本单位
            public string xsdw { get; set; }//销售单位
            public string jzj { get; set; }//基准价
        }
    }
}
